#if !defined(AFX_GOODSINOUTDLG_H__3CEA19A3_FF3D_4CB2_B80B_8EE85573176F__INCLUDED_)
#define AFX_GOODSINOUTDLG_H__3CEA19A3_FF3D_4CB2_B80B_8EE85573176F__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// GoodsInOutDlg.h : header file
#include "Resource.h"
//
__declspec(dllimport) BOOL CallBillInfoDlg( _ConnectionPtr m_pConnection );

/////////////////////////////////////////////////////////////////////////////
// CGoodsInOutDlg dialog

class CGoodsInOutDlg : public CDialog
{
// Construction
public:
	CGoodsInOutDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CGoodsInOutDlg)
	enum { IDD = IDD_DIALOG_GOODSINOUT };
	CListCtrl	m_ctlGoodsNumberList;
	long	m_lBillNumber;
	long	m_lBillNumberF;
	long	m_lGoodsNumber;
	long	m_lGoodsNumberF;
	CString	m_strInOutReason;
	CString	m_strInPlace;
	long	m_lInSum;
	CString	m_strOutPlace;
	long	m_lOutSum;
	long	m_lTallyClerk;
	long	m_lTallyClerkF;
	COleDateTime	m_tInDate;
	COleDateTime	m_tOutDate;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CGoodsInOutDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CGoodsInOutDlg)
	afx_msg void OnAdd();
	afx_msg void OnDel();
	afx_msg void OnEdit();
	afx_msg void OnClose();
	afx_msg void OnBillnumber();
	afx_msg void OnGoodsnumber();
	afx_msg void OnTallyclerk();
	virtual BOOL OnInitDialog();
	afx_msg void OnClickList(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnNextpage();
	afx_msg void OnPrevpage();
	afx_msg void OnTop();
	afx_msg void OnRefresh();
	afx_msg void OnGogoods();
	afx_msg void OnGobill();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

public:
	_ConnectionPtr m_pConnection;
	_RecordsetPtr m_pRecordset;
//	_CommandPtr m_pCommand;
	void Openset();
	void Closeset();
	void GetEditValue();
	void SetEditValue();
	void SetListColumn();
	void GetListValue(int j);
	void LinkListEdit(int i);

};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_GOODSINOUTDLG_H__3CEA19A3_FF3D_4CB2_B80B_8EE85573176F__INCLUDED_)
